import Vue from 'vue'
/* Layout */
import Layout from '../views/layout/Layout'
const _import = require('./_import_' + process.env.NODE_ENV)

export default {
	routes: [
		{
			path: '/sms/sms',
			component: Layout,
			name: '短信内容配置',
			meta: {
				title: 'smsMng',
				icon: 'example'
			},
			iconCls: 'fa el-icon-menu',
			children: [{
				path: 'smsMng',
				component: _import('mdp/sms/Index'),
				name: '短信内容配置',
				meta: {
					title: 'smsContentSet',
					menu: false
				}
			}]
		},
		{
			path: '/sms/sms',
			component: Layout,
			name: '发送短信',
			meta: {
				title: 'sendSmd',
				icon: 'example'
			},
			iconCls: 'fa el-icon-menu',
			children: [{
				path: 'sendSms',
				component: _import('mdp/sms/SendSms'),
				name: '发送短信',
				meta: {
					title: 'sendSmd',
					menu: false
				}
			}]
		}
		/* {
			path: '/sms/sms',
			component: Layout,
			name: '服务费设置',
			meta: {
				title: 'serviceChargesSet',
				icon: 'example'
			},
			iconCls: 'fa el-icon-menu',
			children: [{
				path: 'smsServiceCharges/SmsServiceChargesMng',
				component: _import('sms/smsServiceCharges/SmsServiceChargesMng'),
				name: '服务费设置',
				meta: {
					title: 'serviceChargesSet',
					menu: true
				}
			}]
		} */
		/* {
			path: '/sms/sms',
			component: Layout,
			name: '短信签名管理',
			meta: {
				title: 'smsSignMng',
				icon: 'example'
			},
			iconCls: 'fa el-icon-menu',
			children: [{
				path: 'smsSign/SmsSignMng',
				component: _import('sms/smsSign/SmsSignMng'),
				name: '短信签名管理',
				meta: {
					title: 'smsSignMng',
					menu: true
				}
			}]
		},
		{
			path: '/sms/sms',
			component: Layout,
			name: '短信模板管理',
			meta: {
				title: 'smsTemplateMng',
				icon: 'example'
			},
			iconCls: 'fa el-icon-menu',
			children: [{
				path: 'smsTemplate/SmsTemplateMng',
				component: _import('sms/smsTemplate/SmsTemplateMng'),
				name: '短信模板管理',
				meta: {
					title: 'smsTemplateMng',
					menu: true
				}
			}]
		} */
	]
}
